package com.ruoyi.common.core.domain.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 业务系统 对象 business_sys
 * 
 * @author ess
 * @date 2021-10-18
 */
public class BusinessSys extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 业务系统Id  */
    private String bSysId;

    /** 业务系统名称 */
    @Excel(name = "业务系统名称")
    private String bName;

    /** 服务器ip,多个以英文逗号间隔 */
    @Excel(name = "服务器ip,多个以英文逗号间隔")
    private String serverIp;

    /** 顶级单位id */
    private String topUnitId;

//    顶级单位名称
    @Excel(name = "顶级单位")
    private String topUnitName;

    /** 数据范围（1：所有数据；2：自定义数据） */
    private String dataScope;

    private String[] sealTypeIds;


    public void setbSysId(String bSysId)
    {
        this.bSysId = bSysId;
    }

    public String getbSysId() 
    {
        return bSysId;
    }
    public void setbName(String bName) 
    {
        this.bName = bName;
    }

    public String getbName() 
    {
        return bName;
    }
    public void setServerIp(String serverIp) 
    {
        this.serverIp = serverIp;
    }

    public String getServerIp() 
    {
        return serverIp;
    }
    public void setTopUnitId(String topUnitId) 
    {
        this.topUnitId = topUnitId;
    }

    public String getTopUnitId() 
    {
        return topUnitId;
    }

    public String getTopUnitName() {
        return topUnitName;
    }

    public void setTopUnitName(String topUnitName) {
        this.topUnitName = topUnitName;
    }

    public String getDataScope() {
        return dataScope;
    }

    public void setDataScope(String dataScope) {
        this.dataScope = dataScope;
    }


    public String[] getSealTypeIds() {
        return sealTypeIds;
    }

    public void setSealTypeIds(String[] sealTypeIds) {
        this.sealTypeIds = sealTypeIds;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bSysId", getbSysId())
            .append("bName", getbName())
            .append("serverIp", getServerIp())
            .append("topUnitId", getTopUnitId())
            .toString();
    }
}
